import request from '@/utils/request'

export function fetchUpimg(data) {
  return request({
    url: '/admin/upimg',
    method: 'post',
    data
  })
}

export function fetchFile(data) {
  return request({
    url: '/admin/upfile',
    method: 'post',
    data
  })
}